home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
stx422a.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-12-30
|
5KB
|
103 lines
@echo off
if exist %1\$toktrax.exe upgrade %1
cls
echo ░▒▓█▓▒░▒▓▓▒░▒▓█▓▒▒▓█▓▒░▒▓█▒░▒▓█▓▒░▓█▓▒░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒░▓█▓▒░▒▓█▓▒░▒
echo ▒ │ │ ▓
echo ▓ █│██▒ ██▒ ██▒ ████████▒ ██▒ ██▒ █
echo █ █▒│ │█▒▐█████▒ ██▒ █▒ ██▒ ██▒ ██▒ ▓
echo ▓ █▒│ │ ██▒ █████▒ ██▒▄█▒ ██▒ ███▒ ▐█▒ ██▒ ████▒ ▒
echo ▒ ████│█▒ ██▒ ██▒ ██▒ ████▒ ██▒ ██▒▐█▒ ████▒ ██▒ ░
echo ░ │ │█▒ ██▒ ██▒ ██▒ █████▒ ██▒ ████▒ ██▒ ██▒ ████▒ ▒
echo ▒ █▒│ │█▒ ██▒██▒ ██▒ ██▒ ██▒ ██▒ ██▒ ██▒ ████████▒ ██▒ ██▒ ▓
echo ▓ █│██▒ ███▒ █████▒ ██▒ ██▒ ██▒ ██▒ ██▒ ██▒ ██▒ ██▒ █
echo ▒ │ │ ╔═════════════════════════╗ tm ▒
echo ░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒▓▒▓█▓▒║ release 4, (c)1986-1992 ║░▓▒░▒▓█▓▒░▒▓█▓░▒▓█▓▒░▒▓█
echo ╚═════════════════════════╝
if x%1==x echo ──────────────────────────────────────────────────────────────────────────
if x%1==x echo A destination drive and directory MUST be specified. For example:
if x%1==x echo INSTALL C:\$TOKTRX4
if not exist UPGRADE.BAT goto CONTINUE
if x%1==x echo If you are upgrading but want to install the new version in a new
if x%1==x echo directory, don't forget your data files! After installation, copy
if x%1==x echo your old .STK files to the new directory with the command
if x%1==x echo COPY C:\OLD\*.STK C:\NEW (substituting the correct drive
if x%1==x echo and dirctory names). Repeat this for your .FOL and .DIV files.
echo ──────────────────────────────────────────────────────────────────────────
:CONTINUE
if x%1==x goto ENDINSTALL
echo INSTALLING TO %1
echo ──────────────────────────────────────────────────────────────────────────
echo Press ENTER if you want to continue, or CONTROL-C if you want to
echo start over and specify a different drive and directory.
echo ──────────────────────────────────────────────────────────────────────────
if x%2==x pause
rem -------------------------------------------------------------------
cls
if exist $TOKMAIN.EXE goto MAIN
echo Please insert $TOKTRAX disk #1, containing $TOKMAIN.EXE......
if x%2==x pause
:MAIN
$TOKMAIN %1
if exist *.DOC copy *.DOC %1
if exist OMBUDS copy OMBUDS %1
if exist *.STK copy *.STK %1
rem -------------------------------------------------------------------
cls
if exist $TOKUTIL.EXE goto UTIL
echo Please insert $TOKTRAX disk #2, or press ENTER......
if x%2==x pause
if not exist $TOKUTIL.EXE goto MAKEST
:UTIL
$TOKUTIL %1
rem -------------------------------------------------------------------
cls
if exist $TOKDOCS.EXE goto DOCS
echo Please insert $TOKTRAX disk #2, or press ENTER......
if x%2==x pause
if not exist $TOKUTIL.EXE goto MAKEST
:DOCS
$TOKDOCS %1
rem -------------------------------------------------------------------
cls
if exist $TOKSAMP.EXE goto SAMP
echo Please insert $TOKTRAX disk #2, or press ENTER......
if x%2==x pause
if not exist $TOKUTIL.EXE goto MAKEST
:SAMP
$TOKSAMP %1
rem -------------------------------------------------------------------
if exist SA107.EXE SA107 %1
if exist SA.EXE copy SA*.* %1
if exist %1\OMBUDS goto MAKEST
if exist *.DOC copy *.DOC %1
if exist OMBUDS copy OMBUDS %1
if exist *.STK copy *.STK %1
if exist MISCDOCS.EXE MISCDOCS %1
rem -------------------------------------------------------------------
:MAKEST
if not x%1==x %1\
if not x%1==x cd %1
if not x%1==x echo @echo off > st.bat
if not x%1==x echo %1\ >> st.bat
if not x%1==x echo cd %1 >> st.bat
if not x%1==x echo prompt Type EXIT to return to $$tokTraX $G >> st.bat
if not x%1==x echo $TOKTRAX %%1 %%2 %%3 >> st.bat
if not x%1==x echo prompt $P$G >> st.bat
rem -------------------------------------------------------------------
$etup
echo
echo
echo.
echo This program is produced by a member of the Association of Shareware
echo Professionals (ASP). ASP wants to make sure that the shareware
echo principle works for you. If you are unable to resolve a
echo shareware-related problem with an ASP member by contacting the member
echo directly, ASP may be able to help. The ASP Ombudsman can help you
echo resolve a dispute or problem with an ASP member, but does not provide
echo technical support for members' products. Please write to the ASP
echo Ombudsman at 545 Grover Road, Muskegon, MI 49442 or send a CompuServe
echo message via CompuServe Mail to ASP Ombudsman 70007,3536.
echo.
echo Type ST to begin $tokTraX.
:ENDINSTALL